Track filter fix (#363)
authortsteven4 <13596209+tsteven4@users.noreply.github.com>
Wed, 29 May 2019 22:57:02 +0000 (16:57 -0600)
committerGitHub <noreply@github.com>
Wed, 29 May 2019 22:57:02 +0000 (16:57 -0600)
commit8ce2d2224cac0d5540c36c017f3d28212457ed14
tree1e7f7918019f52039183bb7fd4339e46d610552a
parentfc0d1eda2d930c2a1c01a03b09e301bf7c6ea20e
Track filter fix (#363)

* Fix compatibility for track filter GUI<->CLI.

Add a week unit for the track filter move option,
in addition to the existing day, hour, minute and second units.

Allow combination of units for track filter move option, e.g.
1w2d3h4m-5s = 1 week + 2 days + 3 hours + 4 minutes - 5 seconds.
This matches historical use, and is expected by the GUI.

Add the week unit to the GUI track filter ui.

Change the limits on the track filter move specs:
week: +/-10000 (unit didn't exit before)
day,hour,minute,second: +/- 100000 (+/-2000 for day before, +/-100 on others).

This resolves #357.
This resolves #358.

* add documentation for track filter move option.
gui/filterdata.cc
gui/filterdata.h
gui/filterwidgets.cc
gui/trackui.ui
trackfilter.cc
xmldoc/filters/options/track-move.xml